package com.rich.house.mapper;


import com.rich.common.entity.TbHouseRing;
import com.rich.house.vo.AddHoueseRingVo;
import com.rich.house.vo.SearchUidListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:fei
 * @Date:2021/8/13
 */
@Mapper
public interface HouseRingMapper {

    /**
     * 模糊查询
     * @Author: zdy
     * @Date:  下午 8:53
     * @param uidListVo
     * @return java.util.List<com.rich.common.entity.TbHouseRing>
     **/
    List<TbHouseRing> searchUidList(@Param("uidListVo") SearchUidListVo uidListVo);

    /**
     * 删除单条
     * @Author: zdy
     * @Date:  下午 8:53
     * @param id
     * @param uid
     * @return boolean
     **/
    boolean deleteOne(@Param("id") Integer id,@Param("uid") Integer uid);

    /**
     * 添加
     * @Author: zdy
     * @Date:  下午 8:54
     * @param addHoueseRingVo
     * @return void
     **/
    void addHoueseRing(@Param("addHoueseRingVo") AddHoueseRingVo addHoueseRingVo);

}
